package com.cfec.educationplatform.util;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Getter
@ApiModel("枚举类")
@Slf4j
// 创建一个枚举::0:数学；1:物理；2:化学；3:英语
public enum EnumSubjects {
    math("数学"),
    physics("物理"),
    chemistry("化学"),
    english("英语");

    private final String Value;

    EnumSubjects(String Value ) {
        this.Value = Value;
    }

}
